import Character from "../../../BASE/Character";
import Dun from "./Dun";


const { ccclass, property } = cc._decorator;

@ccclass
export default class A323 extends Dun {
    TheNumber: "A323";
    Wtype: number = 3;//
    level: number = 2;
    Pnumber: number = 2;//格挡值

    FJ() {
        this.Pnumber -= 1;
        if (this.Pnumber <= 0) {
            this.remove()
        }

    }
    remove() {
this.node.getComponent(Character).changeE("weapon")
    }
}